#include <iostream>
#include <string>
using namespace std;

void replace(string&t,char*s,char*d)
{
	string c(s);
	int p=t.find(c);
	while(p!=string::npos)
	{
		t.erase(p,c.size());
		t.insert(p,d);
		p=t.find(c);
	}
}

int main()
{
	char c[100]={0};
	cin.getline(c,100);
	string s=c;
	replace(s,"%20"," ");
	replace(s,"%21","!");
	replace(s,"%24","$");
	replace(s,"%28","(");
	replace(s,"%29",")");
	replace(s,"%2a","*");
	replace(s,"%25","%");

	cout<<s<<endl;
}
